package cn.yzc.mapper;

import cn.yzc.pojo.OrderDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Project: mybatis_pro - OrderDetailsMapper</p>
 * <p>Powered by yzc On 2023-10-12 10:58:48</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
public interface OrderDetailsMapper {

    /**
     * 添加多条记录
     *
     * @param orderDetails
     * @param id
     * @return
     */
    int insertOrderDetails(@Param("orderDetails") List<OrderDetails> orderDetails, @Param("id") int id);

    /**
     * 删除多条记录
     */

    int delOrderDetails(@Param("ids") List<Integer> ids);
}
